PDF Plugin for Xojo

Page.CreateURLAnnotation Method (console safe)

Creates a URL annotation. URL annotations are used to create clickable zones to link to a web page.

CreateURLAnnotation(
   url as String,
   left as Single,
   top as Single,
   right as Single,
   bottom as Single) as URLAnnotation

Parameters

url
The URL for the annotation.
left
Left coordinate of the annotation.
top
Top coordinate of the annotation. Bottom coordinate of the annotation.
right
Right coordinate of the annotation.
bottom
Bottom coordinate of the annotation. Remember in PDF then y starts from bottom.

Returns

URLAnnotation
The new URL annotation or nil if the url parameter was empty.

Remarks

See Also

Page Class